6115bef335346f38088b225088235a50547c1b46,htroot/yacysearchitem.java,yacysearchitem,respond,#RequestHeader#serverObjects#serverSwitch#,73

Before Change


                prop.put("content_loc_lat", result.lat());
                prop.put("content_loc_lon", result.lon());
            }
            if (sb.getConfigBool("heuristic.searchresults",false)) sb.heuristicSearchResults(resultUrlstring);
            theSearch.query.transmitcount = item + 1;
            return prop;
        }

After Change


            boolean p2pmode = sb.peers != null && sb.peers.sizeConnected() > 0 && indexReceiveGranted;
            boolean global = post == null || (post.get("resource", "local").equals("global") && p2pmode);
            boolean stealthmode = p2pmode && !global;
            if ((sb.getConfigBool(SwitchboardConstants.HEURISTIC_SEARCHRESULTS, false) ||
                    (sb.getConfigBool(SwitchboardConstants.GREEDYLEARNING_ACTIVE, false) && sb.getConfigBool(SwitchboardConstants.GREEDYLEARNING_ENABLED, false))) &&
                 !stealthmode) sb.heuristicSearchResults(resultUrlstring);
            theSearch.query.transmitcount = item + 1;
            return prop;